#include<reg51.h>
void delay(int i)
{
	int k,j;
	for(k=0;k<i;k++)
		for(j=0;j<1000;j++);
}
void main()
{
	int i;
	while(1)
	{
		P1=0xbb;
		delay(300);
		P1=0xbe;
		delay(600);
		for(i=0;i<8;i++)
		{
			P1=0xbd;
			delay(50);
			P1=0xbf;
			delay(50);
		}
		P1=0xbb;
		delay(300);
		P1=0xeb;
		delay(600);
		for(i=0;i<8;i++)
		{
			P1=0xdb;
			delay(50);
			P1=0xfb;
			delay(50);
		}
	}
}